import {ElMessage} from "element-plus";
import router from "@/router";

const logout = () => {
    localStorage.removeItem('system-user')
    localStorage.clear()
    router.push('/')
    window.location.reload()
}
export {logout}